dialct = "mysql"
driver = "mysqldb"
username = "root"
password = "qwe123"
host = "127.0.0.1"
post = "3306"
dbname = "information"
uri = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(dialct, driver, username, password, host, post, dbname)
print(uri)

SQLALCHEMY_DATABASE_URI = "mysql://%s:%s@%s/%s" % ('root', '1991', '127.0.0.1', 'flask_blog')
print(SQLALCHEMY_DATABASE_URI)

